<template>
  <div>
    <span>父组件库存: {{ count }}</span>
    <hr>
    <!-- <AddBtn :value="count" @input="val => count = val"></AddBtn> -->
    <AddBtn v-model="count"></AddBtn>
  </div>
</template>

<script>
import AddBtn from '@/components/Add'
export default {
  data () {
    return {
      count: 10
    }
  },
  components: {
    AddBtn
  }
}
</script>

<style>

</style>
